package com.lc.entity;

import com.cnpc.framework.annotation.Header;
import com.cnpc.framework.base.entity.BaseEntity;

import javax.persistence.*;

@Entity
@Table(name = "tbl_sms_code")
public class SmsCode extends BaseEntity {

    private static final long serialVersionUID = 6093546087036436583L;


    @Header(name = "手机")
    @Column(name = "mobile")
    private String mobile;

    @Header(name="验证码")
    @Column(name="temp_code")
    private String temp_code;

    @Header(name="验证码验证码有效期")
    @Column(name="temp_code_limit")
    private String temp_code_limit;

    @Header(name="验证码类型")
    @Column(name="code_type")
    private String code_type;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getTemp_code() {
        return temp_code;
    }

    public void setTemp_code(String temp_code) {
        this.temp_code = temp_code;
    }

    public String getTemp_code_limit() {
        return temp_code_limit;
    }

    public void setTemp_code_limit(String temp_code_limit) {
        this.temp_code_limit = temp_code_limit;
    }

    public String getCode_type() {
        return code_type;
    }

    public void setCode_type(String code_type) {
        this.code_type = code_type;
    }
}
